<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>删除 object 中某个属性 m</title>
</head>
<body>
    <script>
        var obj = {
            name: 'Jie ke',
            m: 18
        };
        delete obj.m;// 使用delete删除obj对象中的m属性
        console.log(obj);
    </script>
</body>
</html>